﻿// -----------------------------------------------------------------------
// This class implements the StudentAndApplication class in the specification.
//
// Author: Dan Buvid
// Date: April 13, 2012
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ResidencyPlacement
{
    public class StudentAndApplication
    {
        // The state space consists of: 
        // A student
        // An application
        private Student student;
        private Application application;

        public StudentAndApplication(Student student, Application application)
        {
            this.student = student;
            this.application = application;
        }

        public Student Student
        {
            get
            {
                return this.student;
            }
            set
            {
                this.student = value;
            }
        }

        public Application Application
        {
            get
            {
                return this.application;
            }
            set
            {
                this.application = value;
            }
        }
    }
}
